package com.supertange.miniapp.wepet.modules.wepet.service;

import com.supertange.miniapp.wepet.modules.wepet.entity.ExchangeRecordEntity;
import com.supertange.miniapp.wepet.modules.wepet.entity.vo.ExchangeGoodsVO;
import com.supertange.miniapp.wepet.modules.wepet.entity.vo.ExchangeVO;

import java.util.List;

public interface ExchangeService {

    List<ExchangeGoodsVO> queryAllGoods();

    ExchangeVO queryExchangeInfo(String userid);

    List<ExchangeRecordEntity> queryExchangeRecordByUserid(String userid);

    void addUser(String userid);

    void addGoods(String image_url,int money_count,int cost_count);

    boolean addYisen(String userid,int favourate_cnt);

    int addOrder(String kuaidi_address,String kuaidi_name,String kuaidi_tel,String kuaidi_message,
                 String goodsid,String userid,int goods_cnt, String list_addr,String list_name,String list_tel,String list_kucun);

    boolean addAddr(String listName,String listAddr,String listTel,String userid);

}
